home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7265 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: pegasus.montclair.edu!hubey
  2. From: hubey@pegasus.montclair.edu (H. M. Hubey)
  3. Newsgroups: comp.lang.c
  4. Subject: argv on VMS (was Re: Question on argv
  5. Date: 12 Feb 1996 13:26:45 -0500
  6. Organization: Montclair State University
  7. Message-ID: <hubey.824149407@pegasus.montclair.edu>
  8. References: <4eoq3c$45j@usenet.ucs.indiana.edu> <harmon.823153381@pegasus.montclair.edu> <TANMOY.96Feb10160209@qcd.lanl.gov>
  9. NNTP-Posting-Host: amiga.montclair.edu
  10. X-Newsreader: NN version 6.5.0 #68 (NOV)
  11.  
  12. tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya) writes:
  13.  
  14. >There are other serious problems: nothing guarantees that the elements
  15. >of the argv `array' can be modified. argv itself (because it is a
  16.  
  17. I have a related question on argc and argv[] on VMS.
  18.  
  19. I have a problem getting VMS to accept the commanline argument
  20. to my program which expects one argument i.e. it should be
  21. of the form
  22.  
  23. $ uedit junk.dat
  24.  
  25. It works fine on Unix but not on VMS since VMS needs the "run"
  26. command so it becomes
  27.  
  28. $ run uedit junk.dat 
  29.  
  30. so VMS apparently thinks that junk.dat modifies the run
  31. command. I tried things like 
  32.  
  33. $run uedit/input=junk.dat
  34.  
  35. etc but it won't work. What's the  correct format for VMS?
  36.  
  37. -- 
  38. Regards, Mark
  39. Those who speak don't know.                  Those who know won't speak.
  40. http://www.smns.montclair.edu/~hubey         hubey@pegasus.montclair.edu
  41.